<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录页</title>
</head>
<body>
<form action="<%=request.getContextPath() %>/demo/login.action" method="post">
用户名：<input type="text" name="username" placeholder="请输入用户名" /><br />
密码：<input type="password" name="password" placeholder="请输入密码" /><br />
<input type="submit" value="登录">
</form>
</body>
</html>